package com.egoo.ticket.server.dao;


import com.egoo.ticket.server.pojo.entity.CustomFieldDataSource;
import org.springframework.stereotype.Component;

/**
 * @author Administrator
 */
@Component
public interface CustomFieldDataSourceDao {
	/**
	 * TODO
	 * @param id
	 * @return
	 */
    int deleteByPrimaryKey(String id);

	/**
	 * TODO
	 * @param record
	 * @return
	 */
	int insert(CustomFieldDataSource record);

	/**
	 * TODO
	 * @param record
	 * @return
	 */
    int insertSelective(CustomFieldDataSource record);

	/**
	 * TODO
	 * @param id
	 * @return
	 */
	CustomFieldDataSource selectByPrimaryKey(String id);

	/**
	 * TODO
	 * @param record
	 * @return
	 */
    int updateByPrimaryKeySelective(CustomFieldDataSource record);

	/**
	 * TODO
	 * @param record
	 * @return
	 */
	int updateByPrimaryKey(CustomFieldDataSource record);
}